<!DOCTYPE html>
<html lang="zh-Hans" xmlns:th="http://www.thymeleaf.org">
<th:block th:include="frontInclude :: frontHeader"/>
<link rel="stylesheet" th:href="@{/css/article-detail.css}" type="text/css" media="all" charset="utf-8">
<body class="wel-body">
<header class="headerbox pcbox" th:replace="frontInclude :: header_menu"></header>
<div class="mbox" th:replace="frontInclude :: header_menu_mobile"></div>
<div class="con-banner">
    <div class="images pcbox"
         th:style="'background:url('+@{/img/banner3.jpg}+') no-repeat center;background-size: cover;'">
    </div>
    <img img class="mbox h500" th:src="@{/img/banner3.jpg}" alt="走进黑蝎">
    <div class="words">
        <div class="text w1280">
            <div class="tit-en tit-48 secwen">DETAIL</div>
            <div class="tit-cn tit-36 secwen add1"><a th:each="m : ${parent}" th:text="'/ '+ ${m.menuName}" th:href="${m.pageUrl}"></a></div>
            <div class="line secwen add2"></div>
        </div>
    </div>
</div>

<div class=" w1280">
    <div class="newsinfo-box pub-bg">
        <div class="news-view f-cb secwen">
            <div class="left" style="width: 100%">
                <div class="tit" th:text="${article.articleTitle}">西南公司获评首届四川省“诚信民营企业”荣誉称号</div>
                <div class="share-box  f-cb">
                    <div class="time" th:text="${#dates.format(article.createTime,'yyyy-MM-dd')}">发布时间：</div>
                </div>
                <div class="article-content">
                    <!-- 如果有公司Logo，显示在顶部 -->
                    <div th:if="${article.articleLogo != null and !#strings.isEmpty(article.articleLogo)}" class="company-header">
                        <img th:src="${article.articleLogo}" th:alt="${article.articleTitle}" class="company-logo-detail" />
                        <div class="company-basic-info">
                            <h2 th:text="${article.articleTitle}">公司名称</h2>
                            <p th:if="${article.articleDescribe != null and !#strings.isEmpty(article.articleDescribe)}" 
                               class="company-summary" th:text="${article.articleDescribe}">公司简介</p>
                        </div>
                    </div>
                    
                    <!-- 文章详细内容 -->
                    <div class="con" th:utext="${article.articleContent}">
                    </div>
                </div>
                <div class="buttons">
                    <a th:if="${prev==null}" href="" class="prev">没有了</a>
                    <a th:if="${prev!=null}" href="" class="prev" th:href="${'/front/articleView/'+prev.id}" th:text="'上一篇：'+${prev.articleTitle}">上一篇</a>

                    <a href="" class="next" th:if="${next==null}">没有了</a>
                    <a href="" class="next" th:if="${next!=null}" th:href="${'/front/articleView/'+next.id}" th:text="'下一篇：'+${next.articleTitle}">下一篇</a>
                </div>
            </div>
        </div>
    </div>

</div>

<div th:replace="frontInclude :: footer"></div>
</body>
</html>